from BeautifulReport import BeautifulReport
import unittest
from rk_lianxi.email_log import email_log

# 执行测试用例 生成日志文件
suite = unittest.defaultTestLoader.discover(start_dir='./',pattern='test_lianxi_rk10.py')
# report = BeautifulReport(suite)
# report.report(description='日考9练习',filename='rk9.html',log_path='.')
run = unittest.TextTestRunner().run(suite)
# 发送邮箱
email_log().send_email(['rk10.log'])






